    package org.fly.dao;

    import org.fly.bean.Order;
    import org.fly.bean.query.OrderQuery;
    import org.apache.ibatis.annotations.Param;
    import org.springframework.stereotype.Repository;

    import java.util.List;

    /**
    * Created by autoCode on 2018-04-10 19:13:41.
    */
    @Repository
    public interface OrderDao {

    List<Order> list(OrderQuery query);

    long count(OrderQuery query);

    void  insert(Order data);

    void update(Order data);

    Order findById(String id);

    void delete(String id);

    List<Order> listByIds(@Param(value = "ids") List<String> ids);


}
